﻿<!DOCTYPE html>
<html lang="fr">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta charset="utf-8" />
        <title>@Resources.Intercamber.ApplicationTitle - @ViewBag.PageTitle</title>
        <link href="/favicon.ico?@ViewBag.VersionNumber" rel="shortcut icon" type="image/x-icon" />
        
        <link href="/Content/jquery-ui-1.9.2.custom.min.css?@ViewBag.VersionNumber" rel="stylesheet" />
        <link href="/Content/site.css?@ViewBag.VersionNumber" rel="stylesheet" />
        <link href="/Scripts/qtip/jquery.qtip.min.css?@ViewBag.VersionNumber" rel="stylesheet" />
        <script src="/Scripts/jquery-1.8.3.min.js?@ViewBag.VersionNumber"></script>
        <script src="/Scripts/jquery.cookie.js?@ViewBag.VersionNumber"></script>
        <script src="/Scripts/jquery-ui-1.9.2.custom.min.js?@ViewBag.VersionNumber"></script>
        <script src="/Scripts/qtip/jquery.qtip.min.js?@ViewBag.VersionNumber"></script>
        <script src="/Scripts/Intercamber.js?@ViewBag.VersionNumber"></script>
        
        <style>
            .pageContent {
                background-image: url(/Images/Login/BgLogin.jpg) !important;
                background-size: 100% auto;
                background-repeat: no-repeat;
                background-color: #7A8BBF;
                /*background-size: 100% 100%;*/
                /*text-align:center !important;*/
                position:relative;
            }
            .titleTable {
                background-size: 100% 100%;
            }
            .titreApplication {
                vertical-align: top;
                text-align: center;
                height: 95px;
            }
            .menu {
                text-align: left;
                top: 60px;
            }
            .titleTable
            {
                background-image: url("/Images/Background/BackgroundHead.png");
            }
        </style>

        @RenderSection("PageHead", false)
    </head>
    <body>
        <div class="warningMessage">@ViewBag.WarningMessage</div>
        <table width="100%" style="height: 100%" cellspacing="0" cellpadding="0" class="mainTable">
            <tr class="titleTable">
                <td id="titleTd" class="titreApplication">
                    <img src="~/Images/TitreIntercambers.png" style="margin:5px 0 5px 5px; height:70px;"/>
                    <span class="languageSelector">
                        <a href="/Account/ChangeLanguage?id=fr">
                            <img class="imgButton @(ViewBag.UiLanguage == "fr" ? "imgButtonSelected" : "")" src="~/Images/Flags/fr.png" title="@Resources.Intercamber.Languages_fr" /></a>
                        <a href="/Account/ChangeLanguage?id=es">
                            <img class="imgButton @(ViewBag.UiLanguage == "es" ? "imgButtonSelected" : "")" src="~/Images/Flags/es.png" title="@Resources.Intercamber.Languages_es" /></a>
                        <a href="/Account/ChangeLanguage?id=en">
                            <img class="imgButton @(ViewBag.UiLanguage == "en" ? "imgButtonSelected" : "")" src="~/Images/Flags/uk.png" title="@Resources.Intercamber.Languages_en" /></a>
                        <br />
                        <span id="onlineUsers" style="display: none"></span>
                    </span>
                    <span class="menu">
                        <ul id="menu" style="border: 0;">
                            @if (!Request.IsAuthenticated)
                            {
                                <text>
                                    <li><a href="~/Account/Login">@Resources.Intercamber.Login_ConnectTitle</a></li>
                                </text>
                            }
                        </ul>
                    </span>
                </td>
            </tr>
            <tr class="contentTable">
                <td id="pageContent" class="calcHeight pageContent paddedContent">
                    @RenderSection("PageContent")
                </td>
            </tr>
        </table>

        <div id="footerLeft" class="footerLeft" style="text-align:left;">
            ©@Resources.Intercamber.ApplicationTitle @("v" + ViewBag.VersionNumber) 2014
        </div>

    </body>
</html>
